AmeliaBooking\Application\Services\Reservation\AppointmentReservationService C

Total Complexity 121
Dependencies 30
Dependents 0
Total lines 931
Lines of code 588
Logical lines of code 230
Comment lines 184
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
24
38 168
getWooCommerceData()
B
33 19 90
updateStatus()
B
36 17 80
book()
B
40 15 61
getReservationByPayment()
A
35 10 94
updateWooCommerceOrder()
A
50 8 29
getReservationPaymentAmount()
S
51 5 29
getBookingPeriods()
S
55 3 19
isExtraAggregatedPrice()
S
75 2 4
getType()
S
82 1 3
getBookableEntity()
S
74 1 4
isAggregatedPrice()
S
81 1 3
getReservationByBookingId()
S
75 1 4